package com.example.cdctest.mapper;

import com.example.cdctest.pojo.WrongTopic;

import java.util.List;

public interface WrongTopicMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WrongTopic record);

    int insertSelective(WrongTopic record);

    WrongTopic selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(WrongTopic record);

    int updateByPrimaryKey(WrongTopic record);
//取出错题
    List<WrongTopic> selectWrongTopicById(int id);

    //取出错题数量
    Integer selectWrongCountById(int id);
}